<#if dic ??>
<div class="bjui-pageHeader">
    <form id="pagerForm" data-toggle="ajaxsearch" action="${ctx}/system/dicItem?dicId=${dicItem.dicId}" method="POST">
        <input type="hidden" name="pageSize" value="${pageInfo.pageSize}">
        <input type="hidden" name="pageNum" value="${pageInfo.pageNum}">
        <div class="bjui-searchBar">
            <label for="dicName" class="control-label x0">字典名称：${dic.dicName}</label> 
            <div class="pull-right">
                <div class="btn-group">
                    <a href="${ctx}/system/dicItem/create?dicId=${dicItem.dicId}" class="btn btn-default" data-toggle="dialog" data-id="dialog-mask" data-id="createItemDic" data-mask="true">新增数据</a>
                </div>
            </div>
        </div>
    </form>
</div>
<div class="bjui-pageContent tableContent">
    <table data-toggle="tablefixed"  data-width="100%">
	    <thead>
	        <tr>
	            <th>字典项名称</th>
	            <th>字典项编码</th>
	            <th>状态</th>  
	            <th align="center">操作</th>
	        </tr>
	    </thead>
	    <tbody>
	        <#list pageInfo.list as dicItem>
	            <tr data-id="${dicItem.dicItemTypeCode}">
	                <td>${dicItem.dicItemName}</td>
	                <td>${dicItem.dicItemTypeCode}</td>
	                <td>${fn.getDicValue('AVAILABLE_STATUS',dicItem.available)!}</td>
	                <td>	                    
	                	<a href="${ctx}/system/dicItem/${dicItem.dicItemId}/edit" class="btn btn-default btn-sm" data-toggle="dialog" data-id="editDicItem${dicItem.dicItemId}" data-mask="true">修改</a>
	                    <a href="${ctx}/system/dicItem/${dicItem.dicItemId}/delete" class="btn btn-default btn-sm" data-toggle="doajax" data-confirm-msg="确定要删除吗？">删除</a>
	                </td>
	            </tr>
	        </#list>
	    </tbody>
	</table>
</div>
<@h.miniPageFooter />
</#if>